// 本文件负责所有公用组件的全局注册

import PageTools from './PagesTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import TagsView from './TagsView'

export default {
  install(Vue) {
    // 注册全局的通过栏目组件对象
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    // 添加注册图片上传组件
    Vue.component('ImageUpload', ImageUpload)
    // 添加全屏打开组件
    Vue.component('ScreenFull', ScreenFull)
    // 添加动态主题组件
    Vue.component('ThemePicker', ThemePicker)
    // 添加多页签
    Vue.component('TagsView', TagsView)
  }
}
